package com.chonglie;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class DisplayMessageActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.display);

		Intent intent = getIntent();
		TextView displayEditText = (TextView) findViewById(R.id.display_view);
		displayEditText.setText(intent
				.getStringExtra(HelloAndroidActivity.EXTRA_MESSAGE));

	}

}
